/************************************************************
 * Project Name		[Thinking_In_Java]
 * File Name     	[pkg_02_oop.Example_11_Interface_Test.java]
 * Creation Date 	[21-Jun-2014]
 * 
 * Copyright© ge.y.yang@gmail.com All Rights Reserved
 * 
 * Work hard, play harder, think big and keep fit
 ************************************************************/
package pkg_02_oop;

/**
 * 接口测试
 * 
 * @author 不落的太阳(Sean Yang)
 * @version 1.0
 * @since JDK 6
 * 
 */
public class Example_11_Interface_Test {

	/**
	 * 测试方法
	 * 
	 * @param args
	 *            命令行参数
	 */
	public static void main(String[] args) {
		Example_11_Interface i = new Animal();
		i.run();

		Car car = new Car();
		car.start();

		@SuppressWarnings("unused")
		Animal animal = (Animal) i;
	}
}
